package cn.cloudplug.zdx_core.api;

/**
 * Created by pc on 2018/1/28.
 */

public class Addressbook {
    public static final String GETLIST = "/api/addressbook/getlist";
    public static final class GETLIST{
        public static final String PAGENO_PARAM = "pageno"; //当前页码。默认1
        public static final String SERIALNO_PARAM = "serialno"; //设备sn。
        public static final String ISHASDEVICE_PARAM = "ishasdevice";//默认1，是。0表示无，-1表示所有
        public static final String ID = "id";//企业Id
        public static final String CORPORATENAME = "corporatename";//企业名称
        public static final String STRUCTURE = "structure";//组织架构
        public static final class STRUCTURE {
            public static final String ID = "id";//组织架构编号
            public static final String NAME = "name";//组织架构名称
            public static final String MEMBERS = "members";//组织结构列表
            public static final class MEMBERS {
                public static final String ID = "id";//组织架构人员Id
                public static final String REALNAME = "realname";//组织架构人员姓名
                public static final String AVATAR = "avatar";//组织架构人员头像
                public static final String MOBILE = "mobile";//组织架构人员手机号
            }
        }
    }
}
